package com.woniuxy.huayoung.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 游记评论表
 * </p>
 *
 * @author dushen
 * @since 2021-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TravelNotesReview  {

    private static final long serialVersionUID=1L;

    /**
     * 游记评论id
     */
    private Integer id;

    /**
     * 游记id
     */
    private Integer travelNotesId;

    /**
     * 评论详情
     */
    private String detail;

    /**
     * 评论时间
     */
    //@JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss", timezone = "Asia/Shanghai")
    private Date reviewTime;

    /**
     * 评论状态
     */
    private Integer status;

    /**
     * 用户id
     */
    private Integer uid;

    /**
     * 游记
     */
    private TravelNotes travelNotes;


}
